Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Type mismatch driving me craze
~Pippy Nongerovitchli 19.Dec.03 06:40 PM a Web browser
Domino Designer All Releases All Platforms


Greg,

You don't say which line is generating the Type Mismatch, but I'm guessing it is this line:

Dim db4 As New NotesDatabase( mailbox,mailfile )


I think there is some extraneous code here since you end up getting db4 as your currentDatabase. Try this:

Dim db4 As NotesDatabase
Dim workspace As New NotesUIWorkspace
Dim session As New NotesSession
Dim uidoc As NotesUIDocument
Set db4 = session.CurrentDatabase
Set uidoc = workspace.CurrentDocument
' find the size of the user's mail database
size4 = db4.Size /1054000
Call uidoc.FieldSetText( "Display_Sz", Cstr(size4) )




Type mismatch driving me craze (~Sarah Xanfanat... 19.Dec.03)
. . RE: Type mismatch driving me craze (~Pippy Nongerov... 19.Dec.03)
. . The problem is Evaulate returns an ... (~Dan Elhipister... 19.Dec.03)
. . RE: Type mismatch driving me craze (~Bill Quetfooch... 19.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS